package cn.wolfcode.trip.base.service;

import cn.wolfcode.trip.base.domain.NewsComment;
import cn.wolfcode.trip.base.domain.NewsContent;
import cn.wolfcode.trip.base.domain.NewsPage;
import cn.wolfcode.trip.base.query.QueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface INewsPageService {

    void saveOrUpdate(NewsPage entity);

    PageInfo<NewsPage> query(QueryObject qo);

    String getContentById(Long id);

    NewsPage selectContent(Long id);

    List<NewsPage> selectRecommendNews(Long id);

}
